﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;

namespace Workflow
{
    public partial class SpecialCase : System.Web.UI.Page
    {
        private BLL.GetNumManager objGetNumManager = new GetNumManager();
        Models.GetNum gn = new Models.GetNum();
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void BtnSubmit_Click(object sender, EventArgs e)
        {
            gn.ZNum = txtZNum.Text.Trim().ToString().ToUpper();
            gn.SapMold = txtMold.Text.Trim().ToString().ToUpper();
            string str = string.Format("<script>window.location.href='{0}'</script>", "SpecialCaseDetail.aspx?ZNum="+gn.ZNum+"&SapMold="+gn.SapMold+"");
            Response.Write(str);
        }
    }
}